package com.treasure.mall.zbqmallapi.vo.auction;

import com.treasure.mall.biz.entity.auction.AuctionSessionPO;
import com.treasure.mall.biz.vo.product.ProductApiDetailVo;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/7/17
 */
@Data
@NoArgsConstructor
public class AuctionSessionDetailVO extends AuctionSessionBaseVO {
    private ProductApiDetailVo product;

    public AuctionSessionDetailVO(AuctionSessionPO sessionPO) {
        super(sessionPO);
        this.product = new ProductApiDetailVo(sessionPO.getProductPO());
    }
}
